package org.jeecg.modules.zcgl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.zcgl.entity.LeaseContractContent;

/**
 * @Description: 合同打印信息
 * @Author: jeecg-boot
 * @Date:   2021-01-13
 * @Version: V1.0
 */
public interface ILeaseContractContentService extends IService<LeaseContractContent> {

    /**
     * 保存打印信息
     * @param leaseContractContent
     * @return
     */
    boolean saveCheck(LeaseContractContent leaseContractContent);

    /**
     * 根据合同ID和打印模版ID查询
     * @param leaseContractId
     * @param printTemplateId
     * @return
     */
    LeaseContractContent selectByLeaseContractIdAndPrintTemplateId(String leaseContractId, String printTemplateId);
}
